<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Enumerated Types</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__scb__i2c__enums.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Enumerated Types<div class="ingroups"><a class="el" href="group__group__scb.html">SCB          (Serial Communication Block)</a> &raquo; <a class="el" href="group__group__scb__i2c.html">I2C (SCB)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gaf621eb0719ad9ad7178d02268575b247"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__enums.html#gaf621eb0719ad9ad7178d02268575b247">cy_en_scb_i2c_status_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247a80d0133e4536adccb11defa72a9aa9b0">CY_SCB_I2C_SUCCESS</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247a88b8ce3f8df47d917d2eb711da6e289b">CY_SCB_I2C_BAD_PARAM</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 1U), 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247a87d64b12d320a5119189d10f4d4adf18">CY_SCB_I2C_MASTER_NOT_READY</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 2U), 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247a70db75ea69bdbc70254aad3d6038010c">CY_SCB_I2C_MASTER_MANUAL_TIMEOUT</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 3U), 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247a779a11182cb3545ae0a7a615e5f322cb">CY_SCB_I2C_MASTER_MANUAL_ADDR_NAK</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 4U), 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247ada7da6531ad390819f7fa40f41c8c8e2">CY_SCB_I2C_MASTER_MANUAL_NAK</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 5U), 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247adc8581d0d86566d2db7a76618af3a873">CY_SCB_I2C_MASTER_MANUAL_ARB_LOST</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 6U), 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247a762117541efacce9e7a713c041ddb7ee">CY_SCB_I2C_MASTER_MANUAL_BUS_ERR</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 7U), 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#ggaf621eb0719ad9ad7178d02268575b247ab5b04efd779b1ccd737ba56aa932d0aa">CY_SCB_I2C_MASTER_MANUAL_ABORT_START</a> = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_I2C_ID | 8U)
<br />
 }<tr class="memdesc:gaf621eb0719ad9ad7178d02268575b247"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C status codes.  <a href="group__group__scb__i2c__enums.html#gaf621eb0719ad9ad7178d02268575b247">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gaf621eb0719ad9ad7178d02268575b247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga848386100a4d9700bf5bb790b3db3ed2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__enums.html#ga848386100a4d9700bf5bb790b3db3ed2">cy_en_scb_i2c_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#gga848386100a4d9700bf5bb790b3db3ed2a9ceefa04abbb537720c9924350b5e179">CY_SCB_I2C_SLAVE</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#gga848386100a4d9700bf5bb790b3db3ed2ac1dc09a53d6852a737909498356978c6">CY_SCB_I2C_MASTER</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#gga848386100a4d9700bf5bb790b3db3ed2a0eb5244a51c5a71b69fc5d1d3a89ed08">CY_SCB_I2C_MASTER_SLAVE</a> = 3U
<br />
 }<tr class="memdesc:ga848386100a4d9700bf5bb790b3db3ed2"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Operation Modes.  <a href="group__group__scb__i2c__enums.html#ga848386100a4d9700bf5bb790b3db3ed2">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga848386100a4d9700bf5bb790b3db3ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a168a5e662ce781920027bebbab5d8d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__enums.html#ga6a168a5e662ce781920027bebbab5d8d">cy_en_scb_i2c_direction_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#gga6a168a5e662ce781920027bebbab5d8da62791e1d00155a9693ceb8310aff2fee">CY_SCB_I2C_WRITE_XFER</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#gga6a168a5e662ce781920027bebbab5d8dacc5e8ec50bb8970779560cedef3c6f35">CY_SCB_I2C_READ_XFER</a> = 1U
<br />
 }<tr class="memdesc:ga6a168a5e662ce781920027bebbab5d8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Transaction Direction.  <a href="group__group__scb__i2c__enums.html#ga6a168a5e662ce781920027bebbab5d8d">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga6a168a5e662ce781920027bebbab5d8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4600410051f7febf79d167ffbf85d7ef"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__i2c__enums.html#ga4600410051f7febf79d167ffbf85d7ef">cy_en_scb_i2c_command_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#gga4600410051f7febf79d167ffbf85d7efadd6046656aba93adef7c4823a25081fd">CY_SCB_I2C_ACK</a>, 
<br />
&#160;&#160;<a class="el" href="group__group__scb__i2c__enums.html#gga4600410051f7febf79d167ffbf85d7efa46363791a98697b7b015b3b64441bfc6">CY_SCB_I2C_NAK</a>
<br />
 }<tr class="memdesc:ga4600410051f7febf79d167ffbf85d7ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Command ACK / NAK.  <a href="group__group__scb__i2c__enums.html#ga4600410051f7febf79d167ffbf85d7ef">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga4600410051f7febf79d167ffbf85d7ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gaf621eb0719ad9ad7178d02268575b247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf621eb0719ad9ad7178d02268575b247">&#9670;&nbsp;</a></span>cy_en_scb_i2c_status_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__scb__i2c__enums.html#gaf621eb0719ad9ad7178d02268575b247">cy_en_scb_i2c_status_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C status codes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247a80d0133e4536adccb11defa72a9aa9b0"></a>CY_SCB_I2C_SUCCESS&#160;</td><td class="fielddoc"><p>Operation completed successfully. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247a88b8ce3f8df47d917d2eb711da6e289b"></a>CY_SCB_I2C_BAD_PARAM&#160;</td><td class="fielddoc"><p>One or more of input parameters are invalid. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247a87d64b12d320a5119189d10f4d4adf18"></a>CY_SCB_I2C_MASTER_NOT_READY&#160;</td><td class="fielddoc"><p>The master is not ready to start a new transaction. </p>
<p>Either the master is still processing a previous transaction or in the master-slave mode, the slave operation is in progress. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247a70db75ea69bdbc70254aad3d6038010c"></a>CY_SCB_I2C_MASTER_MANUAL_TIMEOUT&#160;</td><td class="fielddoc"><p>The master operation timed out before completing. </p>
<p>Applicable only for the <a class="el" href="group__group__scb__i2c__master__low__level__functions.html">Master Low-Level</a> functions. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247a779a11182cb3545ae0a7a615e5f322cb"></a>CY_SCB_I2C_MASTER_MANUAL_ADDR_NAK&#160;</td><td class="fielddoc"><p>The slave NACKed the address. </p>
<p>Applicable only for the <a class="el" href="group__group__scb__i2c__master__low__level__functions.html">Master Low-Level</a> functions. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247ada7da6531ad390819f7fa40f41c8c8e2"></a>CY_SCB_I2C_MASTER_MANUAL_NAK&#160;</td><td class="fielddoc"><p>The slave NACKed the data byte. </p>
<p>Applicable only for the <a class="el" href="group__group__scb__i2c__master__low__level__functions.html">Master Low-Level</a>. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247adc8581d0d86566d2db7a76618af3a873"></a>CY_SCB_I2C_MASTER_MANUAL_ARB_LOST&#160;</td><td class="fielddoc"><p>The master lost arbitration, the transaction was aborted. </p>
<p>Applicable only for the <a class="el" href="group__group__scb__i2c__master__low__level__functions.html">Master Low-Level</a> functions. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247a762117541efacce9e7a713c041ddb7ee"></a>CY_SCB_I2C_MASTER_MANUAL_BUS_ERR&#160;</td><td class="fielddoc"><p>The master detected an erroneous start or stop, the transaction was aborted. </p>
<p>Applicable only for the <a class="el" href="group__group__scb__i2c__master__low__level__functions.html">Master Low-Level</a> functions. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf621eb0719ad9ad7178d02268575b247ab5b04efd779b1ccd737ba56aa932d0aa"></a>CY_SCB_I2C_MASTER_MANUAL_ABORT_START&#160;</td><td class="fielddoc"><p>The master transaction was aborted and the slave transaction is on-going because the slave was addressed before the master generated a start. </p>
<p>Applicable only for the <a class="el" href="group__group__scb__i2c__master__low__level__functions.html">Master Low-Level</a> functions. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga848386100a4d9700bf5bb790b3db3ed2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga848386100a4d9700bf5bb790b3db3ed2">&#9670;&nbsp;</a></span>cy_en_scb_i2c_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__scb__i2c__enums.html#ga848386100a4d9700bf5bb790b3db3ed2">cy_en_scb_i2c_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Operation Modes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga848386100a4d9700bf5bb790b3db3ed2a9ceefa04abbb537720c9924350b5e179"></a>CY_SCB_I2C_SLAVE&#160;</td><td class="fielddoc"><p>Configures SCB for I2C Slave operation. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga848386100a4d9700bf5bb790b3db3ed2ac1dc09a53d6852a737909498356978c6"></a>CY_SCB_I2C_MASTER&#160;</td><td class="fielddoc"><p>Configures SCB for I2C Master operation. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga848386100a4d9700bf5bb790b3db3ed2a0eb5244a51c5a71b69fc5d1d3a89ed08"></a>CY_SCB_I2C_MASTER_SLAVE&#160;</td><td class="fielddoc"><p>Configures SCB for I2C Master-Slave operation. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga6a168a5e662ce781920027bebbab5d8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a168a5e662ce781920027bebbab5d8d">&#9670;&nbsp;</a></span>cy_en_scb_i2c_direction_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__scb__i2c__enums.html#ga6a168a5e662ce781920027bebbab5d8d">cy_en_scb_i2c_direction_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Transaction Direction. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga6a168a5e662ce781920027bebbab5d8da62791e1d00155a9693ceb8310aff2fee"></a>CY_SCB_I2C_WRITE_XFER&#160;</td><td class="fielddoc"><p>Current transaction is Write. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6a168a5e662ce781920027bebbab5d8dacc5e8ec50bb8970779560cedef3c6f35"></a>CY_SCB_I2C_READ_XFER&#160;</td><td class="fielddoc"><p>Current transaction is Read. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga4600410051f7febf79d167ffbf85d7ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4600410051f7febf79d167ffbf85d7ef">&#9670;&nbsp;</a></span>cy_en_scb_i2c_command_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__scb__i2c__enums.html#ga4600410051f7febf79d167ffbf85d7ef">cy_en_scb_i2c_command_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Command ACK / NAK. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga4600410051f7febf79d167ffbf85d7efadd6046656aba93adef7c4823a25081fd"></a>CY_SCB_I2C_ACK&#160;</td><td class="fielddoc"><p>Send ACK to current byte. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga4600410051f7febf79d167ffbf85d7efa46363791a98697b7b015b3b64441bfc6"></a>CY_SCB_I2C_NAK&#160;</td><td class="fielddoc"><p>Send NAK to current byte. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
